package tech.lq0.dreamaticvoyage.init;

import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.effect.MobEffects;
import net.minecraft.world.food.FoodProperties;

public class DmvFoodProperties {

    public static final FoodProperties IRON_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .build();
    public static final FoodProperties GOLD_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.ABSORPTION, 200), 1.0f).build();
    public static final FoodProperties COPPER_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.CONFUSION, 200), 1.0f).build();
    public static final FoodProperties ZINC_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.HEALTH_BOOST, 200), 1.0f).build();
    public static final FoodProperties LEAD_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.POISON, 200), 1.0f)
            .effect(() -> new MobEffectInstance(MobEffects.MOVEMENT_SLOWDOWN, 200), 1.0f).build();
    public static final FoodProperties NICKEL_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(EffectRegistry.BLEEDING.get(), 200), 1.0f).build();
    public static final FoodProperties SILVER_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(EffectRegistry.HOLINESS.get(), 200), 1.0f).build();
    public static final FoodProperties TIN_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.BLINDNESS, 200), 1.0f).build();
    public static final FoodProperties ALUMINUM_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.DIG_SLOWDOWN, 200), 1.0f)
            .effect(() -> new MobEffectInstance(MobEffects.MOVEMENT_SLOWDOWN, 200), 1.0f).build();
    public static final FoodProperties OSMIUM_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.CONFUSION, 400), 1.0f).build();
    public static final FoodProperties URANIUM_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.WITHER, 400), 1.0f).build();
    public static final FoodProperties QUICKSILVER_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.WITHER, 1200), 1.0f)
            .effect(() -> new MobEffectInstance(MobEffects.POISON, 1200), 1.0f).build();
    public static final FoodProperties PLATINUM_BREAD_SLICE = new FoodProperties.Builder().nutrition(10).saturationMod(0.6f).alwaysEat()
            .build();
    public static final FoodProperties BRASS_BREAD_SLICE = new FoodProperties.Builder().nutrition(6).saturationMod(0.6f).alwaysEat()
            .effect(() -> new MobEffectInstance(MobEffects.CONFUSION, 400), 1.0f).build();
    public static final FoodProperties STEEL_BREAD_SLICE = new FoodProperties.Builder().nutrition(8).saturationMod(0.8f).alwaysEat()
            .build();

}
